﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VFTray.Config
{
	public class PVisionParam
	{
		public bool enabled = true;
		public int method = 0;//0实心圆//1矩形定位//2template match
		public int tolerancePer = 10;//10%
		public int roi_x = 0;
		public int roi_y = 0;
		public int roi_w = 4000;
		public int roi_h = 3000;
		//public int graymethod = -1;
		public int binm = 0;//0:otsu; 1: binp value
		public int binp = 0;

		public string mark_fn = "";
		//public bool mark_enabled = false;

		public PMatchParam matchParam = new PMatchParam();
		public PLightSnap snap = new PLightSnap();

		public float focusX = -1;
		public float focusY = -1;

	}
}
